<!-- 地图 -->
<template>
  <div class="scrollWrap">
    <div class="disTable">
      <div class="disTableCell">
        <div class="disInblock menuBtns">
          <!-- 主内容 S -->
          <van-button icon="smile-o" :block="true" to="/Task">悬赏</van-button>
          <van-button icon="smile-o" :block="true" to="/Market">市集</van-button>
          <van-button icon="smile-o" :block="true" to="/Tavern">酒馆</van-button>
          <van-button icon="smile-o" :block="true" to="/MyShop">店铺</van-button>
          <van-button icon="smile-o" :block="true" to="/MyHouse">自宅</van-button>
          <!-- 主内容 E -->
        </div>
      </div>
    </div>
    <HeaderBar></HeaderBar>
    <FooterNav></FooterNav>
  </div>
</template>

<script>
  export default {
    components: {  },
    data() {
      return {
      }
    },

    created() {
    },
    mounted() {
      //战斗结束后回传的战斗结果
      this.winner = this.$route.params.winner;
      if(this.winner==1){ //胜利
        this.$refs.tree.updateCurNode(this.$store.state.targetNode);
        this.$refs.tree.createNodes(this.$store.state.targetNode);
      }
    },

    methods: {

    },
  }
</script>
